setHtmlText

@NonNull
open fun setHtmlText(@Nullable htmlText: @Nullable String): @NonNull ShareCompat.IntentBuilder(source)

Set an HTML string to be sent as part of the share. If EXTRA_TEXT has not already been supplied, a styled version of the supplied HTML text will be added as EXTRA_TEXT as parsed by Html.fromHtml.

Return

This IntentBuilder for method chaining

Parameters

htmlText

A string containing HTML markup as a richer version of the text provided by EXTRA_TEXT.

See also